import { createSSRApp } from 'vue'
import pinia from './stores'
import '@/utils/http' // 全局初始化拦截器
import App from './App.vue'
import '@/styles/global.scss' // 引入全局样式
import '@/styles/fonts.scss' // 引入字体图标

export function createApp() {
  const app = createSSRApp(App)

  app.use(pinia)
  return {
    app,
  }
}
